Skip to content

Commit ed241d4

Browse files
committed
Add X509 purpose constant
X509_PURPOSE_OCSP_HELPER, X509_PURPOSE_TIMESTAMP_SIGN are available from OpenSSL for many years: - X509_PURPOSE_OCSP_HELPER, since 2001 - X509_PURPOSE_TIMESTAMP_SIGN, since 2006
1 parent be0155d commit ed241d4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

ext/openssl/openssl.stub.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,16 @@
4949
* @cvalue X509_PURPOSE_ANY
5050
*/
5151
const X509_PURPOSE_ANY = UNKNOWN;
52+
/**
53+
* @var int
54+
* @cvalue X509_PURPOSE_OCSP_HELPER
55+
*/
56+
const X509_PURPOSE_OCSP_HELPER = UNKNOWN;
57+
/**
58+
* @var int
59+
* @cvalue X509_PURPOSE_TIMESTAMP_SIGN
60+
*/
61+
const X509_PURPOSE_TIMESTAMP_SIGN = UNKNOWN;
5262

5363
/* digest algorithm constants */
5464

0 commit comments

Comments
 (0)