Skip to content

Commit

Permalink
ferr
Browse files Browse the repository at this point in the history
  • Loading branch information
Kissaki committed Mar 14, 2024
1 parent a89e457 commit 040e6e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nss.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ size_t nss_encrypt(void *param, const size_t size, void *dst, const void *src) {
if (PK11_Encrypt(np->key, np->ckmt, &np->params, dst, &written, nss_buffer_size(size), src, size) != SECSuccess) {
PRErrorCode errCode = PR_GetError();
PRInt32 errTextLen = PR_GetErrorTextLength();
char[errTextLen] errText;
PR_GetErrorText(&errText);
char errText[errTextLen];
PR_GetErrorText(errText);
printf("nss_encrypt(): PK11_Encrypt() failed with error %d %s\n", errCode, errText);
return 0;
}
Expand Down

0 comments on commit 040e6e5

Please sign in to comment.