Lines Matching defs:kssl_err
925 * Set kssl_err error info when reason text is a simple string kssl_err =
928 void kssl_err_set(KSSL_ERR *kssl_err, int reason, char *text)
930 if (kssl_err == NULL)
933 kssl_err->reason = reason;
934 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX, "%s", text);
1051 */ KSSL_ERR *kssl_err)
1060 kssl_err_set(kssl_err, 0, "");
1064 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT, "No kssl_ctx defined.\n");
1067 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1073 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1075 kssl_err->reason = SSL_R_KRB5_C_INIT;
1085 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1090 kssl_err->reason = SSL_R_KRB5_C_INIT;
1095 kssl_err_set(kssl_err, SSL_R_KRB5_C_CC_PRINC,
1102 kssl_err_set(kssl_err, SSL_R_KRB5_C_CC_PRINC,
1109 kssl_err_set(kssl_err, SSL_R_KRB5_C_GET_CRED,
1140 kssl_err_set(kssl_err, SSL_R_KRB5_C_MK_REQ,
1164 kssl_err_set(kssl_err, SSL_R_KRB5_C_INIT,
1169 kssl_err_set(kssl_err, SSL_R_KRB5_C_INIT,
1194 * Return Kerberos error code and kssl_err struct on error.
1213 */ KSSL_ERR *kssl_err)
1224 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1226 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1231 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1233 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1249 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1251 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1264 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1266 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1295 */ KSSL_ERR *kssl_err)
1308 kssl_err_set(kssl_err, 0, "");
1311 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT, "No kssl_ctx defined.\n");
1320 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1326 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1333 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1340 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1350 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1361 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1369 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1381 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1388 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1413 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1415 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1423 kssl_err)) != 0) {
1424 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1426 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1432 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1434 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1442 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1444 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1449 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1451 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1490 kssl_err_set(kssl_err, SSL_R_KRB5_S_BAD_TICKET,
1496 kssl_err_set(kssl_err, SSL_R_KRB5_S_BAD_TICKET,
1499 kssl_err_set(kssl_err, SSL_R_KRB5_S_BAD_TICKET,
1503 kssl_err_set(kssl_err, SSL_R_KRB5_S_BAD_TICKET,
1998 * krb5_error_code and kssl_err on error. A NULL authenticator
2015 */ KSSL_ERR *kssl_err)
2032 kssl_err_set(kssl_err, 0, "");
2059 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
2068 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
2097 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
2105 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
2124 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
2133 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,