Commit 681da86e authored by Richard Levitte's avatar Richard Levitte
Browse files

Transfer a fix from 1.0.1



manually picked from e7b85bc4
Reviewed-by: default avatarStephen Henson <steve@openssl.org>

(cherry picked from commit 774ccae6)
parent 872f91c4
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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");