Commit 30b3eb19 authored by Deon George's avatar Deon George

Changed digest out to be the same format as command line tools

parent 137bb28b
......@@ -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
......
#define _TSMPIPE_VERSION "1.5.2"
#define _TSMPIPE_VERSION "1.5.3"
#define ACTION_INFO 1
#define ACTION_CREATE 2
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment