diff options
author | jsing <> | 2018-03-20 15:26:22 +0000 |
---|---|---|
committer | jsing <> | 2018-03-20 15:26:22 +0000 |
commit | e830f6fd519485ee18c3d2fc550b8e1e62e26d97 (patch) | |
tree | e6dd50faaf963499a8afb48c552ed744aaa3d996 /src | |
parent | e72d58016e25175312973db74ef742b9d2e9c5e1 (diff) | |
download | openbsd-e830f6fd519485ee18c3d2fc550b8e1e62e26d97.tar.gz openbsd-e830f6fd519485ee18c3d2fc550b8e1e62e26d97.tar.bz2 openbsd-e830f6fd519485ee18c3d2fc550b8e1e62e26d97.zip |
Provide X509_STORE_get_ex_new_index macro.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libcrypto/x509/x509_vfy.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.h b/src/lib/libcrypto/x509/x509_vfy.h index ad729d84ed..9e0730b014 100644 --- a/src/lib/libcrypto/x509/x509_vfy.h +++ b/src/lib/libcrypto/x509/x509_vfy.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: x509_vfy.h,v 1.26 2018/03/17 15:43:32 tb Exp $ */ | 1 | /* $OpenBSD: x509_vfy.h,v 1.27 2018/03/20 15:26:22 jsing Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -439,6 +439,10 @@ STACK_OF(X509_OBJECT) *X509_STORE_get0_objects(X509_STORE *xs); | |||
439 | void *X509_STORE_get_ex_data(X509_STORE *xs, int idx); | 439 | void *X509_STORE_get_ex_data(X509_STORE *xs, int idx); |
440 | int X509_STORE_set_ex_data(X509_STORE *xs, int idx, void *data); | 440 | int X509_STORE_set_ex_data(X509_STORE *xs, int idx, void *data); |
441 | 441 | ||
442 | #define X509_STORE_get_ex_new_index(l, p, newf, dupf, freef) \ | ||
443 | CRYPTO_get_ex_new_index(CRYPTO_EX_INDEX_X509_STORE, (l), (p), \ | ||
444 | (newf), (dupf), (freef)) | ||
445 | |||
442 | int X509_STORE_set_flags(X509_STORE *ctx, unsigned long flags); | 446 | int X509_STORE_set_flags(X509_STORE *ctx, unsigned long flags); |
443 | int X509_STORE_set_purpose(X509_STORE *ctx, int purpose); | 447 | int X509_STORE_set_purpose(X509_STORE *ctx, int purpose); |
444 | int X509_STORE_set_trust(X509_STORE *ctx, int trust); | 448 | int X509_STORE_set_trust(X509_STORE *ctx, int trust); |