diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2025-08-08 19:24:09 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2025-08-08 19:33:57 +0000 |
commit | fbc35f82f0eca4571df0d753da74571e01ace763 (patch) | |
tree | b1140e447e6c40c2bc65e7fc3413664fe98c3666 /providers/implementations/kem/ml_kem_kem.c | |
parent | 1095efe41feed8ea5a6fe5ca123c347ae0914801 (diff) |
Diffstat (limited to 'providers/implementations/kem/ml_kem_kem.c')
-rw-r--r-- | providers/implementations/kem/ml_kem_kem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/implementations/kem/ml_kem_kem.c b/providers/implementations/kem/ml_kem_kem.c index ac798cb4b6ba..27aa3b819836 100644 --- a/providers/implementations/kem/ml_kem_kem.c +++ b/providers/implementations/kem/ml_kem_kem.c @@ -171,7 +171,7 @@ static int ml_kem_encapsulate(void *vctx, unsigned char *ctext, size_t *clen, return 1; } if (shsec == NULL) { - ERR_raise_data(ERR_LIB_PROV, PROV_R_OUTPUT_BUFFER_TOO_SMALL, + ERR_raise_data(ERR_LIB_PROV, PROV_R_NULL_OUTPUT_BUFFER, "NULL shared-secret buffer"); goto end; } |