diff options
author | jsing <> | 2015-09-14 16:13:39 +0000 |
---|---|---|
committer | jsing <> | 2015-09-14 16:13:39 +0000 |
commit | 0f763b25777f63f3832ab70f6b1fccb6ee041476 (patch) | |
tree | 40548d8c11ad3fb893a9bacd91ce393db1391112 /src/lib/libcrypto/x509/x509_vfy.h | |
parent | 0199cfad0795530b289178635afa2b2407f1a068 (diff) | |
download | openbsd-0f763b25777f63f3832ab70f6b1fccb6ee041476.tar.gz openbsd-0f763b25777f63f3832ab70f6b1fccb6ee041476.tar.bz2 openbsd-0f763b25777f63f3832ab70f6b1fccb6ee041476.zip |
Add support for disabling certificate and CRL validity checking.
Loosely based on changes in OpenSSL.
ok beck@
Diffstat (limited to 'src/lib/libcrypto/x509/x509_vfy.h')
-rw-r--r-- | src/lib/libcrypto/x509/x509_vfy.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_vfy.h b/src/lib/libcrypto/x509/x509_vfy.h index e760279b52..e3a1db2407 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.15 2015/02/07 13:19:15 doug Exp $ */ | 1 | /* $OpenBSD: x509_vfy.h,v 1.16 2015/09/14 16:13:39 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 | * |
@@ -383,7 +383,8 @@ void X509_STORE_CTX_set_depth(X509_STORE_CTX *ctx, int depth); | |||
383 | #define X509_V_FLAG_USE_DELTAS 0x2000 | 383 | #define X509_V_FLAG_USE_DELTAS 0x2000 |
384 | /* Check selfsigned CA signature */ | 384 | /* Check selfsigned CA signature */ |
385 | #define X509_V_FLAG_CHECK_SS_SIGNATURE 0x4000 | 385 | #define X509_V_FLAG_CHECK_SS_SIGNATURE 0x4000 |
386 | 386 | /* Do not check certificate or CRL validity against current time. */ | |
387 | #define X509_V_FLAG_NO_CHECK_TIME 0x200000 | ||
387 | 388 | ||
388 | #define X509_VP_FLAG_DEFAULT 0x1 | 389 | #define X509_VP_FLAG_DEFAULT 0x1 |
389 | #define X509_VP_FLAG_OVERWRITE 0x2 | 390 | #define X509_VP_FLAG_OVERWRITE 0x2 |