Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
c241017d
Commit
c241017d
authored
Oct 24, 2012
by
Evan Hunt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[master] fix fedora 17 ecdsa compilation problem
parent
d65a2917
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/dns/openssl_link.c
lib/dns/openssl_link.c
+2
-2
No files found.
lib/dns/openssl_link.c
View file @
c241017d
...
...
@@ -290,7 +290,7 @@ static isc_result_t
toresult
(
isc_result_t
fallback
)
{
isc_result_t
result
=
fallback
;
unsigned
long
err
=
ERR_get_error
();
#ifdef
ERR_R
_ECDSA
_LIB
#ifdef
HAVE_OPENSSL
_ECDSA
int
lib
=
ERR_GET_LIB
(
err
);
#endif
int
reason
=
ERR_GET_REASON
(
err
);
...
...
@@ -304,7 +304,7 @@ toresult(isc_result_t fallback) {
result
=
ISC_R_NOMEMORY
;
break
;
default:
#ifdef
ERR_R
_ECDSA
_LIB
#ifdef
HAVE_OPENSSL
_ECDSA
if
(
lib
==
ERR_R_ECDSA_LIB
&&
reason
==
ECDSA_R_RANDOM_NUMBER_GENERATION_FAILED
)
{
result
=
ISC_R_NOENTROPY
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment