diff options
| author | markus <> | 2002-09-05 22:44:52 +0000 |
|---|---|---|
| committer | markus <> | 2002-09-05 22:44:52 +0000 |
| commit | 715a204e4615e4a70a466fcb383a9a57cad5e6b8 (patch) | |
| tree | 2d2e93c4a34d1f7f04aba73706353332d7700641 /src/lib/libcrypto/x509v3 | |
| parent | 15b5d84f9da2ce4bfae8580e56e34a859f74ad71 (diff) | |
| download | openbsd-715a204e4615e4a70a466fcb383a9a57cad5e6b8.tar.gz openbsd-715a204e4615e4a70a466fcb383a9a57cad5e6b8.tar.bz2 openbsd-715a204e4615e4a70a466fcb383a9a57cad5e6b8.zip | |
import openssl-0.9.7-beta3
Diffstat (limited to 'src/lib/libcrypto/x509v3')
| -rw-r--r-- | src/lib/libcrypto/x509v3/ext_dat.h | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/x509v3/v3_info.c | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509v3/ext_dat.h b/src/lib/libcrypto/x509v3/ext_dat.h index 586f116db5..2fb97d8925 100644 --- a/src/lib/libcrypto/x509v3/ext_dat.h +++ b/src/lib/libcrypto/x509v3/ext_dat.h | |||
| @@ -99,8 +99,8 @@ static X509V3_EXT_METHOD *standard_exts[] = { | |||
| 99 | &v3_ocsp_nocheck, | 99 | &v3_ocsp_nocheck, |
| 100 | &v3_ocsp_acutoff, | 100 | &v3_ocsp_acutoff, |
| 101 | &v3_ocsp_serviceloc, | 101 | &v3_ocsp_serviceloc, |
| 102 | &v3_crl_hold, | 102 | &v3_sinfo, |
| 103 | &v3_sinfo | 103 | &v3_crl_hold |
| 104 | }; | 104 | }; |
| 105 | 105 | ||
| 106 | /* Number of standard extensions */ | 106 | /* Number of standard extensions */ |
diff --git a/src/lib/libcrypto/x509v3/v3_info.c b/src/lib/libcrypto/x509v3/v3_info.c index 7f17f3231d..e1cf01a9b4 100644 --- a/src/lib/libcrypto/x509v3/v3_info.c +++ b/src/lib/libcrypto/x509v3/v3_info.c | |||
| @@ -158,6 +158,7 @@ static AUTHORITY_INFO_ACCESS *v2i_AUTHORITY_INFO_ACCESS(X509V3_EXT_METHOD *metho | |||
| 158 | objlen = ptmp - cnf->name; | 158 | objlen = ptmp - cnf->name; |
| 159 | ctmp.name = ptmp + 1; | 159 | ctmp.name = ptmp + 1; |
| 160 | ctmp.value = cnf->value; | 160 | ctmp.value = cnf->value; |
| 161 | GENERAL_NAME_free(acc->location); | ||
| 161 | if(!(acc->location = v2i_GENERAL_NAME(method, ctx, &ctmp))) | 162 | if(!(acc->location = v2i_GENERAL_NAME(method, ctx, &ctmp))) |
| 162 | goto err; | 163 | goto err; |
| 163 | if(!(objtmp = OPENSSL_malloc(objlen + 1))) { | 164 | if(!(objtmp = OPENSSL_malloc(objlen + 1))) { |
