• Mark Andrews's avatar
    Address bugs in opensslrsa_tofile · 78066157
    Mark Andrews authored
    1) if 'key->external' is set we just need to call
    2) the cleanup of 'bufs' was incorrect as 'i' doesn't reflect the
       the current index into 'bufs'.  Use a simple for loop.
    This review was triggered by Coverity reporting a buffer overrun
    on 'bufs'.