|
version 1.8.10.1, 2019/01/23 13:24:41
|
version 1.10, 2023/03/14 22:36:13
|
|
Line 12 terms:
|
Line 12 terms:
|
| All of the documentation and software included in the ELWIX and AITNET |
All of the documentation and software included in the ELWIX and AITNET |
| Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
Releases is copyrighted by ELWIX - Sofia/Bulgaria <info@elwix.org> |
| |
|
| Copyright 2004 - 2019 | Copyright 2004 - 2023 |
| by Michael Pounov <misho@elwix.org>. All rights reserved. |
by Michael Pounov <misho@elwix.org>. All rights reserved. |
| |
|
| Redistribution and use in source and binary forms, with or without |
Redistribution and use in source and binary forms, with or without |
|
Line 286 str_Dig2Hex(ait_val_t *digz)
|
Line 286 str_Dig2Hex(ait_val_t *digz)
|
| |
|
| for (i = 0, b = AIT_GET_BUF(digz); i < AIT_LEN(digz); i++) { |
for (i = 0, b = AIT_GET_BUF(digz); i < AIT_LEN(digz); i++) { |
| snprintf(szWork, sizeof szWork, "%02hhX", b[i]); |
snprintf(szWork, sizeof szWork, "%02hhX", b[i]); |
| strncat(str, szWork, 2); | strcat(str, szWork); |
| } |
} |
| |
|
| return str; |
return str; |
|
Line 318 str_Dig2Hex2(u_char * __restrict digz, int diglen)
|
Line 318 str_Dig2Hex2(u_char * __restrict digz, int diglen)
|
| |
|
| for (i = 0, b = digz; i < diglen; i++) { |
for (i = 0, b = digz; i < diglen; i++) { |
| snprintf(szWork, sizeof szWork, "%02hhX", b[i]); |
snprintf(szWork, sizeof szWork, "%02hhX", b[i]); |
| strncat(str, szWork, 2); | strcat(str, szWork); |
| } |
} |
| |
|
| return str; |
return str; |