summaryrefslogtreecommitdiff
path: root/ics-openvpn-stripped/main/openssl/crypto/asn1/t_x509.c
diff options
context:
space:
mode:
authorParménides GV <parmegv@sdf.org>2014-12-12 11:49:24 +0100
committerParménides GV <parmegv@sdf.org>2014-12-12 11:49:24 +0100
commit0e7e4005460964cf8dac080e3d99e1df2a1bdc4d (patch)
tree63fdba4f03bf47b0faa62b9d24cdff9a5a79a8b7 /ics-openvpn-stripped/main/openssl/crypto/asn1/t_x509.c
parent61dc26ab57ad4e2dba341998cabec3f411865e46 (diff)
Updated ics-openvpn to rev924.
Diffstat (limited to 'ics-openvpn-stripped/main/openssl/crypto/asn1/t_x509.c')
-rw-r--r--ics-openvpn-stripped/main/openssl/crypto/asn1/t_x509.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ics-openvpn-stripped/main/openssl/crypto/asn1/t_x509.c b/ics-openvpn-stripped/main/openssl/crypto/asn1/t_x509.c
index edbb39a0..8e961f5e 100644
--- a/ics-openvpn-stripped/main/openssl/crypto/asn1/t_x509.c
+++ b/ics-openvpn-stripped/main/openssl/crypto/asn1/t_x509.c
@@ -475,6 +475,8 @@ int X509_NAME_print(BIO *bp, X509_NAME *name, int obase)
l=80-2-obase;
b=X509_NAME_oneline(name,NULL,0);
+ if (!b)
+ return 0;
if (!*b)
{
OPENSSL_free(b);