]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - gost_grasshopper_math.h
tcl_tests: ca.try: Ignore openssl crl exit status for 'corrupted CRL' test
[openssl-gost/engine.git] / gost_grasshopper_math.h
index 87d1265267b7e150e7bb266a84e6339cfafe05a4..91f276fd3bf36122992fcc76d96af531380fcf6d 100644 (file)
@@ -66,7 +66,7 @@ static GRASSHOPPER_INLINE void grasshopper_zero128(grasshopper_w128_t* x) {
 
 static GRASSHOPPER_INLINE void grasshopper_copy128(grasshopper_w128_t* to, const grasshopper_w128_t* from) {
 #if(GRASSHOPPER_BITS == 8 || GRASSHOPPER_BITS == 16)
-    __builtin_memcpy(&to, &from, sizeof(w128_t));
+    __builtin_memcpy(&to, &from, sizeof(grasshopper_w128_t));
 #else
                int i;
     for (i = 0; i < GRASSHOPPER_BIT_PARTS; i++) {