mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
DVCS (see RFC 3029) was missing among the possible purposes.
Notified privately to me by Peter Sylvester <Peter.Sylvester@EdelWeb.fr>, one of the authors of said RFC
This commit is contained in:
parent
bd1217a176
commit
b637670f03
@ -378,6 +378,10 @@ static void x509v3_cache_extensions(X509 *x)
|
||||
case NID_time_stamp:
|
||||
x->ex_xkusage |= XKU_TIMESTAMP;
|
||||
break;
|
||||
|
||||
case NID_dvcs:
|
||||
x->ex_xkusage |= XKU_DVCS;
|
||||
break;
|
||||
}
|
||||
}
|
||||
sk_ASN1_OBJECT_pop_free(extusage, ASN1_OBJECT_free);
|
||||
|
@ -351,6 +351,7 @@ DECLARE_ASN1_SET_OF(POLICYINFO)
|
||||
#define XKU_SGC 0x10
|
||||
#define XKU_OCSP_SIGN 0x20
|
||||
#define XKU_TIMESTAMP 0x40
|
||||
#define XKU_DVCS 0x80
|
||||
|
||||
#define X509_PURPOSE_DYNAMIC 0x1
|
||||
#define X509_PURPOSE_DYNAMIC_NAME 0x2
|
||||
|
Loading…
Reference in New Issue
Block a user