From your scenario above, you have NOTHING to worry about. The reason for this is because STD's, HIV etc. don't live long outside it's natural environment. Once the secretion is dried, so is the virus.
With HIV, it's mostly contagious via blood to blood contact (fresh blood) once the blood would be dried, no virus. And although HIV can be present in body fluid (vaginal wetness, saliva etc) You would need to drink a lot of body fluid. That is why kissing, sharing a cup, spoon etc, is safe. As far as standard STD's, they need to be in a specific environment as well and most are passed from direct skin to skin contact.
So from what you did, you are fine. But do always take precautions, especially if you are unsure of the other partner.
Hope this helps, If you need anything else please feel free to ask. If you found this helpful don't forget to click the *ACCEPT* button and please take a moment to leave me *POSITIVE* feedback.