diff options
author | job <> | 2023-04-23 21:49:15 +0000 |
---|---|---|
committer | job <> | 2023-04-23 21:49:15 +0000 |
commit | a87d8864a8e0fdc226bb0fd6aa0cb7fa0f6246fa (patch) | |
tree | 035641d119e2024b18d83be49dd30e8e226ec11b /src/lib | |
parent | 1d45dfeb373f7994856604f468f3106e8b772122 (diff) | |
download | openbsd-a87d8864a8e0fdc226bb0fd6aa0cb7fa0f6246fa.tar.gz openbsd-a87d8864a8e0fdc226bb0fd6aa0cb7fa0f6246fa.tar.bz2 openbsd-a87d8864a8e0fdc226bb0fd6aa0cb7fa0f6246fa.zip |
Replace X509v3_get_ext_count() with X509_get_ext_count()
Error introduced in 1.24
Diffstat (limited to 'src/lib')
-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 | ||