• Travis Cross's avatar
    Fix memset calls in APR sha2 implementation · a973fb63
    Travis Cross 提交于
    The implementation clears the context / state data from memory when it
    is finished with it.  Prior to this commit, however, it was actually
    only clearing the first 4 bytes on x86 or 8 bytes on x86_64.
    
    clang warns:
    
      warning: argument to 'sizeof' in 'memset' call is the same
      expression as the destination; did you mean to dereference it?
          [-Wsizeof-pointer-memaccess]
    a973fb63
名称
最后提交
最后更新
..
apr_random.c 正在载入提交数据...
sha2.c 正在载入提交数据...
sha2.h 正在载入提交数据...
sha2_glue.c 正在载入提交数据...