Skip to content

Commit 32ae9ed

Browse files
committed
Fix #80495: Add missing openssl constants
This adds PKCS7_NOSMIMECAP, PKCS7_CRLFEOL, PKCS7_NOCRL and PKCS7_NO_DUAL_CONTENT constants. They might be potentially useful in some scenarious. Test is not added as it is not clear if there is much need for those and it would require much bigger effort just to test OpenSSL functionality.
1 parent c5f79b8 commit 32ae9ed

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

ext/openssl/openssl.stub.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,26 @@
166166
* @cvalue PKCS7_NOOLDMIMETYPE
167167
*/
168168
const PKCS7_NOOLDMIMETYPE = UNKNOWN;
169+
/**
170+
* @var int
171+
* @cvalue PKCS7_NOSMIMECAP
172+
*/
173+
const PKCS7_NOSMIMECAP = UNKNOWN;
174+
/**
175+
* @var int
176+
* @cvalue PKCS7_CRLFEOL
177+
*/
178+
const PKCS7_CRLFEOL = UNKNOWN;
179+
/**
180+
* @var int
181+
* @cvalue PKCS7_NOCRL
182+
*/
183+
const PKCS7_NOCRL = UNKNOWN;
184+
/**
185+
* @var int
186+
* @cvalue PKCS7_NO_DUAL_CONTENT
187+
*/
188+
const PKCS7_NO_DUAL_CONTENT = UNKNOWN;
169189

170190
/**
171191
* @var int

ext/openssl/openssl_arginfo.h

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)