- PARA_DEBUG_LOG("decoding %d byte public rsa-ssh key\n", size);
- if (size > INT_MAX / 4)
- return -ERRNO_TO_PARA_ERROR(EOVERFLOW);
- blob = para_malloc(2 * size);
- ret = uudecode((char *)data, blob, 2 * size);
+ PARA_DEBUG_LOG("decoding %d byte public rsa-ssh key\n", size);
+ ret = uudecode((char *)data, size, (char **)&blob, &decoded_size);