From 3f7142fcfd75c7236529f8ad810fc7136c22795b Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Tue, 16 Jul 2019 15:23:12 -0400 Subject: [PATCH] [bugfix] openssl styleCheck fix: consistent var naming (#11750) --- lib/wrappers/openssl.nim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/wrappers/openssl.nim b/lib/wrappers/openssl.nim index 03d6755c34..dc9587d2c4 100644 --- a/lib/wrappers/openssl.nim +++ b/lib/wrappers/openssl.nim @@ -427,11 +427,11 @@ when not useWinVersion and not defined(macosx) and not defined(android) and not dynlib: DLLUtilName, importc.} proc allocWrapper(size: int): pointer {.cdecl.} = allocShared(size) - proc reallocWrapper(p: pointer; newsize: int): pointer {.cdecl.} = + proc reallocWrapper(p: pointer; newSize: int): pointer {.cdecl.} = if p == nil: - if newSize > 0: result = allocShared(newsize) - elif newsize == 0: deallocShared(p) - else: result = reallocShared(p, newsize) + if newSize > 0: result = allocShared(newSize) + elif newSize == 0: deallocShared(p) + else: result = reallocShared(p, newSize) proc deallocWrapper(p: pointer) {.cdecl.} = if p != nil: deallocShared(p)