Browse Source

IOSAD-239 Make the TKA key printable

kom"XV*t']nKVXU5cKB&AUSeR]Gtd=u4
IOSAD-239
Dirk Zimmermann 6 months ago
parent
commit
35ddd4f24e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/TKA/PEPInternalSession+TKA.m

+ 1
- 1
src/TKA/PEPInternalSession+TKA.m View File

@ -47,7 +47,7 @@ PEP_STATUS tka_request_temp_key(PEP_SESSION session,
s_mockedTmpKey = malloc(s_numberOfBytesForKey + 1);
srand(1); // Make the default explicit
for (int byteIndex = 0; byteIndex < s_numberOfBytesForKey; ++byteIndex) {
s_mockedTmpKey[byteIndex] = rand() % 64;
s_mockedTmpKey[byteIndex] = ' ' + (rand() % 94);
}
s_mockedTmpKey[s_numberOfBytesForKey] = '\0';
});


Loading…
Cancel
Save