Lines Matching refs:KSSL_ERR
936 /* Set kssl_err error info when reason text is a simple string
937 ** kssl_err = struct { int reason; char text[KSSL_ERR_MAX+1]; }
940 kssl_err_set(KSSL_ERR *kssl_err, int reason, char *text)
942 if (kssl_err == NULL) return;
944 kssl_err->reason = reason;
945 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX, "%s", text);
1064 /* OUT */ KSSL_ERR *kssl_err)
1073 kssl_err_set(kssl_err, 0, "");
1078 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1084 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1091 BIO_snprintf(kssl_err->text,KSSL_ERR_MAX,
1093 kssl_err->reason = SSL_R_KRB5_C_INIT;
1102 BIO_snprintf(kssl_err->text,KSSL_ERR_MAX,
1107 kssl_err->reason = SSL_R_KRB5_C_INIT;
1113 kssl_err_set(kssl_err, SSL_R_KRB5_C_CC_PRINC,
1121 kssl_err_set(kssl_err, SSL_R_KRB5_C_CC_PRINC,
1129 kssl_err_set(kssl_err, SSL_R_KRB5_C_GET_CRED,
1161 kssl_err_set(kssl_err, SSL_R_KRB5_C_MK_REQ,
1189 kssl_err_set(kssl_err, SSL_R_KRB5_C_INIT,
1195 kssl_err_set(kssl_err, SSL_R_KRB5_C_INIT,
1218 ** Return Kerberos error code and kssl_err struct on error.
1232 /* OUT */ KSSL_ERR *kssl_err )
1244 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1246 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1252 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1254 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1268 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1270 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1284 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1286 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1312 /* OUT */ KSSL_ERR *kssl_err )
1325 kssl_err_set(kssl_err, 0, "");
1329 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1340 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1347 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1355 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1364 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1373 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1384 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1392 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1406 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1416 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
1440 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1442 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1448 kssl_err)) != 0)
1450 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1452 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1459 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1461 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1467 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1469 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1474 BIO_snprintf(kssl_err->text, KSSL_ERR_MAX,
1476 kssl_err->reason = SSL_R_KRB5_S_RD_REQ;
1518 kssl_err_set(kssl_err, SSL_R_KRB5_S_BAD_TICKET,
1526 kssl_err_set(kssl_err, SSL_R_KRB5_S_BAD_TICKET,
1531 kssl_err_set(kssl_err, SSL_R_KRB5_S_BAD_TICKET,
1537 kssl_err_set(kssl_err, SSL_R_KRB5_S_BAD_TICKET,
1989 ** Returns krb5_error_code and kssl_err on error. A NULL
1998 /* OUT */ KSSL_ERR *kssl_err )
2015 kssl_err_set(kssl_err, 0, "");
2040 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
2050 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
2080 kssl_err_set(kssl_err
2088 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
2106 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,
2116 kssl_err_set(kssl_err, SSL_R_KRB5_S_INIT,