ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » cryptexit

Post new topic  Reply to topic
 cryptexit « View previous topic :: View next topic » 
Author Message
EnOne
PostPosted: Fri Oct 18, 2002 8:09 am    Post subject: cryptexit Reply with quote

Centurion

Joined: 09 Oct 2002
Posts: 100
Location: Kansas City

I am working with channel encryption using security exits.

I was working with cryptexit c program that was posted to the repository and I have everything working but I have the same problem with the last couple characters are being left off.

Quote:
Once this happened I could send messages across that would get encrypted. I only had a few minutes to play with it before going home this evening, but it looks like it was chopping the last few bytes off my messages! I will try to figure out what's going on tommorrow, it may just be my problem. But otherwise everything is apparently working - bduncan


Quote:
I am facing the same problem as faced by bduncan i.e. it is chopping the last few bytes off my message. - harwinderr


I've noticed this same message other times from people using cryptexit. Has anyone come up with a solution?
Back to top
View user's profile Send private message
EnOne
PostPosted: Mon Nov 25, 2002 5:02 pm    Post subject: Reply with quote

Centurion

Joined: 09 Oct 2002
Posts: 100
Location: Kansas City

if you search mqsec.c for "- 8" you will find

*status = EncryptBuffer (optr,
&encryptBufLen,
inbuf + offsetIn,
inbuflen - 8,
MQ_DO_NO_COMPRESS,
&partnerpubk, &qmgrdata.privk, &mqdigsig);

when you change ,inbuflen -8, to just ,inbuflen, and recompile the problem is solved
Back to top
View user's profile Send private message
bduncan
PostPosted: Tue Nov 26, 2002 1:15 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

That fix rings a bell (about a year ago I had to implement this exit, came across the same 8 byte problem, and solved it, but since forgot how!)
I'll see if I can't alter the source code which is on this site with your fix, so nobody else runs into this problem...
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » cryptexit
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.