diff options
author | bcook <> | 2019-05-08 21:53:10 +0000 |
---|---|---|
committer | bcook <> | 2019-05-08 21:53:10 +0000 |
commit | 702714b4fbfab6b2dd4230cda0ce4b13e73f1d22 (patch) | |
tree | f1129a1f2175d7d9ac008e53e0c169cdf9d8f0d4 /src/lib/libcrypto/x509v3/v3_bitst.c | |
parent | e2fd9b50b051176bc9fc27ecbc752d95d22b9959 (diff) | |
download | openbsd-702714b4fbfab6b2dd4230cda0ce4b13e73f1d22.tar.gz openbsd-702714b4fbfab6b2dd4230cda0ce4b13e73f1d22.tar.bz2 openbsd-702714b4fbfab6b2dd4230cda0ce4b13e73f1d22.zip |
initialize safestack pointers
ok beck@, tb@
Diffstat (limited to '')
-rw-r--r-- | src/lib/libcrypto/x509v3/v3_bitst.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509v3/v3_bitst.c b/src/lib/libcrypto/x509v3/v3_bitst.c index 178131edbb..6744461754 100644 --- a/src/lib/libcrypto/x509v3/v3_bitst.c +++ b/src/lib/libcrypto/x509v3/v3_bitst.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: v3_bitst.c,v 1.15 2019/04/22 17:23:55 tb Exp $ */ | 1 | /* $OpenBSD: v3_bitst.c,v 1.16 2019/05/08 21:53:10 bcook Exp $ */ |
2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL | 2 | /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL |
3 | * project 1999. | 3 | * project 1999. |
4 | */ | 4 | */ |
@@ -127,7 +127,7 @@ i2v_ASN1_BIT_STRING(X509V3_EXT_METHOD *method, ASN1_BIT_STRING *bits, | |||
127 | STACK_OF(CONF_VALUE) *ret) | 127 | STACK_OF(CONF_VALUE) *ret) |
128 | { | 128 | { |
129 | BIT_STRING_BITNAME *bnam; | 129 | BIT_STRING_BITNAME *bnam; |
130 | STACK_OF(CONF_VALUE) *free_ret; | 130 | STACK_OF(CONF_VALUE) *free_ret = NULL; |
131 | 131 | ||
132 | if (ret == NULL) { | 132 | if (ret == NULL) { |
133 | if ((free_ret = ret = sk_CONF_VALUE_new_null()) == NULL) | 133 | if ((free_ret = ret = sk_CONF_VALUE_new_null()) == NULL) |