diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2020-11-20 21:52:08 +0100 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2020-11-20 21:52:08 +0100 |
commit | 1dccc0a1fc32e5c6e6d7c63459814c4f38849e63 (patch) | |
tree | e7040702355ee7e11f7206b83057653d755c9244 /M2Crypto/X509.py | |
parent | 18937a0b96119f06ac291fa93fdcb5d388d4b88d (diff) | |
download | m2crypto-1dccc0a1fc32e5c6e6d7c63459814c4f38849e63.tar.gz |
Fix a typo
Diffstat (limited to 'M2Crypto/X509.py')
-rw-r--r-- | M2Crypto/X509.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/M2Crypto/X509.py b/M2Crypto/X509.py index ea8a7c1..20beb4a 100644 --- a/M2Crypto/X509.py +++ b/M2Crypto/X509.py @@ -1023,13 +1023,17 @@ class X509_Store(object): add_cert = add_x509 def set_flags(self, flags): + # type: (int) -> int """ Set the verification flags for the X509Store Wrapper over OpenSSL X509_STORE_set_flags() - :param flags: `VERIFICATION FLAGS` section of the X509_VERIFY_PARAM_set_flags man page has a complete description - of values the flags parameter can take. - Their M2Crypto equivalent is transformed following this pattern: "X509_V_FLAG_XYZ" -> lowervase("VERIFY_XYZ") + :param flags: `VERIFICATION FLAGS` section of the + X509_VERIFY_PARAM_set_flags man page has + a complete description of values the flags + parameter can take. + Their M2Crypto equivalent is transformed following + the pattern: "X509_V_FLAG_XYZ" -> lowercase("VERIFY_XYZ") """ return m2.x509_store_set_flags(self.store, flags) |