Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:11.4:Update
strongswan.864
0001-Fix-boolean-return-value-if-an-empty-RSA-s...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Fix-boolean-return-value-if-an-empty-RSA-signature-i.patch of Package strongswan.864
From 5a858c3197bbda9acda5289003e9015bef560dc7 Mon Sep 17 00:00:00 2001 From: Martin Willi <martin@revosec.ch> Date: Mon, 7 May 2012 13:51:46 +0200 Subject: [PATCH] Fix boolean return value if an empty RSA signature is detected in gmp plugin --- src/libstrongswan/plugins/gmp/gmp_rsa_public_key.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/libstrongswan/plugins/gmp/gmp_rsa_public_key.c b/src/libstrongswan/plugins/gmp/gmp_rsa_public_key.c index a7ba801..898892f 100644 --- a/src/libstrongswan/plugins/gmp/gmp_rsa_public_key.c +++ b/src/libstrongswan/plugins/gmp/gmp_rsa_public_key.c @@ -137,7 +137,7 @@ static bool verify_emsa_pkcs1_signature(private_gmp_rsa_public_key_t *this, if (signature.len == 0 || signature.len > this->k) { - return INVALID_ARG; + return FALSE; } /* unpack signature */ -- 1.7.5.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor