Changed digest out to be the same format as command line tools
This commit is contained in:
parent
137bb28b7a
commit
30b3eb1937
@ -317,9 +317,8 @@ int tsm_sendfile(dsUint32_t dsmHandle, char *fsname, char *filename, long long l
|
||||
EVP_DigestFinal_ex(&mdctx, md_value, &md_len);
|
||||
EVP_MD_CTX_cleanup(&mdctx);
|
||||
|
||||
fprintf(stderr,"%s: ",digest);
|
||||
for(i=0; i<md_len; i++) fprintf(stderr,"%02x",md_value[i]);
|
||||
fprintf(stderr,"\n");
|
||||
for(i=0; i<md_len; i++) fprintf(stdout,"%02x",md_value[i]);
|
||||
fprintf(stdout," %s (%s)\n",dsmObjnameToStr(objName),digest);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user