From 7c263e3935012bcf22525271a97f2021085d7bf6 Mon Sep 17 00:00:00 2001 From: Brandon Lin Date: Tue, 7 Aug 2018 22:22:26 -0700 Subject: [PATCH] add set_time to OpenSSL.crypto.X509Store (#2367) --- third_party/2/OpenSSL/crypto.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/third_party/2/OpenSSL/crypto.pyi b/third_party/2/OpenSSL/crypto.pyi index 972a4f816..b6224bcba 100644 --- a/third_party/2/OpenSSL/crypto.pyi +++ b/third_party/2/OpenSSL/crypto.pyi @@ -3,6 +3,7 @@ from typing import Any, Callable, Iterable, List, Optional, Set, Text, Tuple, Union from cryptography.hazmat.primitives.asymmetric import dsa, rsa +from datetime import datetime FILETYPE_PEM = ... # type: int FILETYPE_ASN1 = ... # type: int @@ -110,6 +111,7 @@ class X509Store: def add_cert(self, cert: X509) -> None: ... def add_crl(self, crl: CRL) -> None: ... def set_flags(self, flags: int) -> None: ... + def set_time(self, vfy_time: datetime) -> None: ... class X509StoreContextError(Exception): certificate = ... # type: X509