• Manuel Pégourié-Gonnard's avatar
    Fix RSA mutex fix · 4d04cdcd
    Manuel Pégourié-Gonnard authored
    Once the mutex is acquired, we must goto cleanup rather that return.
    Since cleanup adjusts the return value, adjust that in test cases.
    
    Also, at cleanup we don't want to overwrite 'ret', or we'll loose track of
    errors.
    
    see #257
    4d04cdcd