diff options
| author | job <> | 2023-04-23 21:49:15 +0000 |
|---|---|---|
| committer | job <> | 2023-04-23 21:49:15 +0000 |
| commit | abcd9cf7eaa057b8d4787e6390794eeaea653ada (patch) | |
| tree | 035641d119e2024b18d83be49dd30e8e226ec11b /src | |
| parent | a463b1aa08a6a313943c789a017ff44dd45f2c5a (diff) | |
| download | openbsd-abcd9cf7eaa057b8d4787e6390794eeaea653ada.tar.gz openbsd-abcd9cf7eaa057b8d4787e6390794eeaea653ada.tar.bz2 openbsd-abcd9cf7eaa057b8d4787e6390794eeaea653ada.zip | |
Replace X509v3_get_ext_count() with X509_get_ext_count()
Error introduced in 1.24
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/x509/x509_purp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_purp.c b/src/lib/libcrypto/x509/x509_purp.c index 610a6d8796..85d9b77f68 100644 --- a/src/lib/libcrypto/x509/x509_purp.c +++ b/src/lib/libcrypto/x509/x509_purp.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: x509_purp.c,v 1.24 2023/04/23 21:46:07 job Exp $ */ | 1 | /* $OpenBSD: x509_purp.c,v 1.25 2023/04/23 21:49:15 job 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 2001. | 3 | * project 2001. |
| 4 | */ | 4 | */ |
| @@ -459,7 +459,7 @@ x509v3_cache_extensions_internal(X509 *x) | |||
| 459 | /* V1 should mean no extensions ... */ | 459 | /* V1 should mean no extensions ... */ |
| 460 | if (X509_get_version(x) == 0) { | 460 | if (X509_get_version(x) == 0) { |
| 461 | x->ex_flags |= EXFLAG_V1; | 461 | x->ex_flags |= EXFLAG_V1; |
| 462 | if (X509v3_get_ext_count(x) != 0) | 462 | if (X509_get_ext_count(x) != 0) |
| 463 | x->ex_flags |= EXFLAG_INVALID; | 463 | x->ex_flags |= EXFLAG_INVALID; |
| 464 | } | 464 | } |
| 465 | 465 | ||
