i2d & ASN1_SEQUENCE related query in openssl 1.1.1.

2020-10-12 Thread prudvi raj
Hi, I am trying to write replacement ASN1 macros for i2d/d2i functions in openssl 1.1.1 Previously: typedef struct pkcs7_issuer_and_subject_st { X509_NAME *issuer; /* Certificate Issuer's name */ X509_NAME *subject; /* Certificate's subject name */ } PKCS7_ISSUER_AND_SUBJEC

Restrict to TLS v1.3

2020-10-12 Thread Vladimir Levijev
Hi, I'd like to restrict the application to only work with TLS version >= 1.3 . That is, any attempt to establish a connection with LTS v1.2 and less should be dropped. I came up with the following being enough to ensure that: SSL_CTX_set_min_proto_version=TLSv1.3 But could you confirm that it i