lm_ssl.c
changeset 4 5770be2d5f3f
parent 0 84fdfb0344c9
child 6 90073cbb535d
equal deleted inserted replaced
3:4fd19a188509 4:5770be2d5f3f
    12 /// Object, containing information about ssl abilities for connection.
    12 /// Object, containing information about ssl abilities for connection.
    13 /// Create, set parameters, and attach to connection with 'ssl' method.
    13 /// Create, set parameters, and attach to connection with 'ssl' method.
    14 
    14 
    15 /// ssl status
    15 /// ssl status
    16 /// String, representing what problem have current ssl session.
    16 /// String, representing what problem have current ssl session.
    17 /// V: no cert found, untrusted cert, cert expired, cert not activated, cert hostname mismatch, cert fingerprint mismatch, generic error
    17 /// G:
    18 const string2enum_t llm_ssl_status[] = {
    18 const string2enum_t llm_ssl_status[] = {
    19 	{ "no cert found",             LM_SSL_STATUS_NO_CERT_FOUND             },
    19 	{ "no cert found",             LM_SSL_STATUS_NO_CERT_FOUND             },
    20 	{ "untrusted cert",            LM_SSL_STATUS_UNTRUSTED_CERT            },
    20 	{ "untrusted cert",            LM_SSL_STATUS_UNTRUSTED_CERT            },
    21 	{ "cert expired",              LM_SSL_STATUS_CERT_EXPIRED              },
    21 	{ "cert expired",              LM_SSL_STATUS_CERT_EXPIRED              },
    22 	{ "cert not activated",        LM_SSL_STATUS_CERT_NOT_ACTIVATED        },
    22 	{ "cert not activated",        LM_SSL_STATUS_CERT_NOT_ACTIVATED        },