Skip to content

Commit

Permalink
Transfer a fix from 1.0.1
Browse files Browse the repository at this point in the history
manually picked from e7b85bc
Reviewed-by: Stephen Henson <steve@openssl.org>
  • Loading branch information
levitte committed Feb 13, 2015
1 parent c81f425 commit 774ccae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions engines/ccgost/gost_eng.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ static int bind_gost(ENGINE *e, const char *id)
int ret = 0;
if (id && strcmp(id, engine_gost_id))
return 0;
if (ameth_GostR3410_94) {
printf("GOST engine already loaded\n");
goto end;
}

if (!ENGINE_set_id(e, engine_gost_id)) {
printf("ENGINE_set_id failed\n");
Expand Down

0 comments on commit 774ccae

Please sign in to comment.