projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve ossl_cmp_msg_check_received() and rename to ossl_cmp_msg_check_update()
[oweals/openssl.git]
/
crypto
/
cmp
/
cmp_server.c
diff --git
a/crypto/cmp/cmp_server.c
b/crypto/cmp/cmp_server.c
index b805dc8bcb57cc5b8d8a8c4c15c867474c4a7400..5cb313a32c0afac6380b3e35fd775330645026e3 100644
(file)
--- a/
crypto/cmp/cmp_server.c
+++ b/
crypto/cmp/cmp_server.c
@@
-508,8
+508,8
@@
OSSL_CMP_MSG *OSSL_CMP_SRV_process_request(OSSL_CMP_SRV_CTX *srv_ctx,
}
}
- if (
ossl_cmp_msg_check_received
(ctx, req, unprotected_exception,
-
srv_ctx->acceptUnprotected) < 0
)
+ if (
!ossl_cmp_msg_check_update
(ctx, req, unprotected_exception,
+
srv_ctx->acceptUnprotected)
)
goto err;
switch (req_type) {